package com.csdj.server.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author zyq
 * @Date 2023/1/3 9:21
 * @ClassName: MybatisPlusConfig
 * @Description: TODO 分页插件配置类
 * @Version 1.0
 */
@Configuration
public class MybatisPlusConfig {


    @Bean
    public PaginationInterceptor paginationInterceptor(){

        return new PaginationInterceptor();
    }
}
